package com.runssnail.demo.test.lambda;

/**
 * 测试default方法能否被继承
 *
 * Created by zhengwei on 2016/2/5.
 */
public class Main {


    public static void main(String[] args) {
        Teacher teacher = () -> {
            return 10;
        };

        teacher.print();

    }

}
